Release 10.1A: OpenEdge Development:
Programming Interfaces
Key translation functions
Progress key codes, key labels, and key functions are interrelated, and Progress provides a set of built-in functions to convert from one to another. Figure 4–2 shows how the conversions work, and which functions to use for each conversion.
Figure 4–2: Progress key translation functions
![]()
You can use the
KEYCODEfunction to determine the key code for a particular key. For example, the following function returns the value 127, which is the integer code assigned to DEL. Use theKEYLABELfunction to determine the keyboard label for a particular key code:
For example, the following function returns the value CTRL+G:
See the OpenEdge Development: Progress 4GL Reference for more information on the
KBLABEL,KEYCODE,KEYFUNCTION, andKEYLABELfunctions.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |